import request from '@/utils/request'

export function InquiryMaintenance() {
  return request({
    url: '/maintain',
    method: 'get'
  })
}

export function AddMaintenance(data) {
  return request({
    url: '/maintain',
    method: 'post',
    data
  })
}

export function UpdataMaintenance(data) {
  return request({
    url: '/maintain',
    method: 'put',
    data
  })
}

export function DelMaintenance(data) {
  return request({
    url: `/maintain/${data}`,
    method: 'delete'
  })
}
